/**
 * This file sets application-wide settings and launches the application when everything has
 * been loaded onto the page. By default we just render the applications Viewport inside the
 * launch method (see app/views/Viewport.js).
 */
if (typeof(console) == "undefined") {
    var console = {log: function(){}, info: function(){}, dir: function(){}};
}


myApp = new Ext.Application({
    defaultTarget: "viewport",
    defaultUrl: 'Index/index',
    name: "myApp",
    useHistory: true,
    launch: function() {
        myApp.stores.IndexLinks.init();
        
        this.viewport = new myApp.Viewport({
            application: this
        });

        //declaration of the helpers
        Ext.namespace('myApp.helpers');
        this.helpers.timer = new TophemanTimerManager(100);

        
    }
});